module.exports = {
    sqlite: {
        client: 'sqlite3',
        connection: {
            //jshint camelcase:false
            filename: './dev.s3db'
        }
    },
    mysql: {
        client: 'mysql',
        connection: {
            //jshint camelcase:false
            host: process.env.dbHost,
            user: process.env.dbUser,
            password: process.env.dbPassword,
            database: process.env.dbDatabase,
            charset: 'utf8'
        },
        debug: false,    //指明是否开启debug模式，默认为true表示开启
        pool: {          //指明数据库连接池的大小，默认为{min: 2, max: 10}
            min: 2,
            max: 10
        },
        acquireConnectionTimeout: 10000 //指明连接计时器大小，默认为60000ms
    }
};